<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
<!--  1 在遍历的过程中没有使用索引值-->
  <ul>
    <li v-for="i in movies">{{i}}</li>
  </ul>

<!--  2 在遍历的过程中获取下标值-->

  <ul>
    <li v-for="(item,index) in movies">{{index+1}}:{{item}}</li>
  </ul>

</div>
  <script src="../js/vue.js"></script>
<script>
  const app = new Vue({
    el:'#app',
    data:{
      message:"message",
      movies:['火影忍者','进击的巨人','斗罗大陆','凡人修仙传']
    },
    methods:{

    }

  })
</script>

</body>
</html>